import request from '@/utils/request'

export const getTask = assignee => {
  return request({
    method: 'GET',
    url: `/flowable/agency/tasks/${assignee}`,
  })
}
export const completeTask = taskDto => {
  return request({
    method: 'POST',
    url: `/flowable/agency/complete`,
    data: taskDto,
  })
}
